const mongoose = require('./mongoose')

// 用户信息
const schema = new mongoose.Schema({
    username: {
        type: String,
        minlength: 4,
        maxlength: 12
    },
    password: String,
    tel: Number,
    email:String,    
    url:String,

})

const model = mongoose.model('user', schema, 'user')

// 导出
module.exports = model